package cn.zyjw.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Set;

@Data
public class RolePrivilegesParam {
    @NotNull
    @ApiModelProperty("角色id")
    private Long roleId;

    @NotNull
    @ApiModelProperty("权限id")
    private Set<Long> privilegeIds;
}
